[INFO] cloning repository https://github.com/pizzalawl/chip8
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pizzalawl/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzalawl%2Fchip8", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzalawl%2Fchip8'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5e811180ca8859e0f765f38458c7adb5bfb1281
[INFO] fixing pizzalawl/chip8 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzalawl%2Fchip8" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pizzalawl/chip8
[INFO] finished tweaking git repo https://github.com/pizzalawl/chip8
[INFO] tweaked toml for git repo https://github.com/pizzalawl/chip8 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pizzalawl/chip8 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pizzalawl/chip8 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded raylib v5.5.1
[INFO] [stderr]   Downloaded prettyplease v0.2.36
[INFO] [stderr]   Downloaded raylib-sys v5.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d952bcea9526f020aa03a907bad96d7a9b0c690c4a7cdd73d21810d5a975b797
[INFO] running `Command { std: "docker" "start" "d952bcea9526f020aa03a907bad96d7a9b0c690c4a7cdd73d21810d5a975b797", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d952bcea9526f020aa03a907bad96d7a9b0c690c4a7cdd73d21810d5a975b797" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d952bcea9526f020aa03a907bad96d7a9b0c690c4a7cdd73d21810d5a975b797", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d952bcea9526f020aa03a907bad96d7a9b0c690c4a7cdd73d21810d5a975b797" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling prettyplease v0.2.36
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling bindgen v0.70.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling raylib-sys v5.5.1
[INFO] [stderr]     Checking raylib v5.5.1
[INFO] [stderr]     Checking chip8 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `audio_device`
[INFO] [stdout]   --> src/audio.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let beep: Sound<'_> = audio_device.new_sound(filename).expect("Failed to load beep sound.");
[INFO] [stdout]    |                               ------------ `audio_device` is borrowed here
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |         Self { audio_device, beep}
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `audio_device` because it is borrowed
[INFO] [stdout]   --> src/audio.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl <'a>Audio<'a> {
[INFO] [stdout]    |       -- lifetime `'a` defined here
[INFO] [stdout]  9 |     pub fn new() -> Self {
[INFO] [stdout] 10 |         let audio_device = RaylibAudio::init_audio_device().expect("Failed to initialize sound driver.");
[INFO] [stdout]    |             ------------ binding `audio_device` declared here
[INFO] [stdout] 11 |         let filename = "beep.wav";
[INFO] [stdout] 12 |         let beep: Sound<'_> = audio_device.new_sound(filename).expect("Failed to load beep sound.");
[INFO] [stdout]    |                               ------------ borrow of `audio_device` occurs here
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |         Self { audio_device, beep}
[INFO] [stdout]    |         -------^^^^^^^^^^^^-------
[INFO] [stdout]    |         |      |
[INFO] [stdout]    |         |      move out of `audio_device` occurs here
[INFO] [stdout]    |         returning this value requires that `audio_device` is borrowed for `'a`
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let beep: Sound<'_> = audio_device.clone().new_sound(filename).expect("Failed to load beep sound.");
[INFO] [stdout]    |                                           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0505, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0505`.
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `audio_device`
[INFO] [stdout]   --> src/audio.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let beep: Sound<'_> = audio_device.new_sound(filename).expect("Failed to load beep sound.");
[INFO] [stdout]    |                               ------------ `audio_device` is borrowed here
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |         Self { audio_device, beep}
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `audio_device` because it is borrowed
[INFO] [stdout]   --> src/audio.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl <'a>Audio<'a> {
[INFO] [stdout]    |       -- lifetime `'a` defined here
[INFO] [stdout]  9 |     pub fn new() -> Self {
[INFO] [stdout] 10 |         let audio_device = RaylibAudio::init_audio_device().expect("Failed to initialize sound driver.");
[INFO] [stdout]    |             ------------ binding `audio_device` declared here
[INFO] [stdout] 11 |         let filename = "beep.wav";
[INFO] [stdout] 12 |         let beep: Sound<'_> = audio_device.new_sound(filename).expect("Failed to load beep sound.");
[INFO] [stdout]    |                               ------------ borrow of `audio_device` occurs here
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |         Self { audio_device, beep}
[INFO] [stdout]    |         -------^^^^^^^^^^^^-------
[INFO] [stdout]    |         |      |
[INFO] [stdout]    |         |      move out of `audio_device` occurs here
[INFO] [stdout]    |         returning this value requires that `audio_device` is borrowed for `'a`
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let beep: Sound<'_> = audio_device.clone().new_sound(filename).expect("Failed to load beep sound.");
[INFO] [stdout]    |                                           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0505, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0505`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chip8` (bin "chip8" test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chip8` (bin "chip8") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "d952bcea9526f020aa03a907bad96d7a9b0c690c4a7cdd73d21810d5a975b797", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d952bcea9526f020aa03a907bad96d7a9b0c690c4a7cdd73d21810d5a975b797", kill_on_drop: false }`
[INFO] [stdout] d952bcea9526f020aa03a907bad96d7a9b0c690c4a7cdd73d21810d5a975b797
